home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / overview / win2maccountersamples / 4. counterdocument / source / counterconstants.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-23  |  1.1 KB  |  35 lines

  1. /*
  2.     File:        CounterConstants.h
  3.  
  4.     Contains:    Sample code to accompany Chapter 12 of 
  5.                 "An Introduction to Macintosh Programming for Windows Programmers".
  6.                 
  7.     Written by:    Worldwide Developer Technical Support
  8.  
  9.     Copyright:    1999 Apple Computer, Inc., All Rights Reserved
  10.  
  11.       You may incorporate this sample code into your applications without
  12.       restriction, though the sample code has been provided "AS IS" and the
  13.       responsibility for its operation is 100% yours.  However, what you are
  14.       not permitted to do is to redistribute the source as "DSC Sample Code"
  15.       after having made changes. If you're going to re-distribute the source,
  16.      we require that you make it clear in the source that the code was
  17.     descended from Apple Sample Code, but that you've made changes.
  18.     
  19. */
  20. #pragma once
  21.  
  22. //============================================
  23. const ResIDT    rWindow_Sample        = 1000;
  24. const ResIDT    rDialog_Value        = 1200;
  25.  
  26. const PaneIDT    kCaption            = 0;
  27. const PaneIDT    kEditField            = 3;
  28.  
  29. const MessageT    cmd_SetValue        = 3000;
  30. const MessageT    cmd_Increment        = 4000;
  31. const MessageT    cmd_Decrement        = 5000;
  32.  
  33. const OSType    kDocType             = 'Cntr';
  34. const OSType    kCreatorType         = 'CntR';
  35.